package com.roam.VO;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class VisitBackVO {
    private boolean success;
    private String message;
    public static VisitBackVO success(){
        return new VisitBackVO(true,"成功");
    }
    public static VisitBackVO error(){
        return new VisitBackVO(false,"失败");
    }
}
